using System;
using System.Collections.Generic;
using System.Text;

namespace MoneyManagerPro.Business.Entities
{
    public class User
    {
        #region Private members

        private int mId;
        private string mFirstName;
        private string mLastName;
        private string mUserName;
        private string mPassword;
        private string mEmail;
        private DateTime mLastVisit;
        private string mDescription;

        #endregion

        #region Constructor logic

        public User()
        {

        }

        public User(int id, string firstName, string lastName, string userName,
            string password, string email, DateTime lastVisit, string description)
        {
            this.mId = id;
            this.mFirstName = firstName;
            this.mLastName = lastName;
            this.mUserName = userName;
            this.mPassword = password;
            this.mEmail = email;
            this.mLastVisit = lastVisit;
            this.mDescription = description;
        }

        #endregion

        #region Public properties

        public int Id
        {
            get { return mId; }
            set { mId = value; }
        }

        public string FirstName
        {
            get { return mFirstName; }
            set { mFirstName = value; }
        }
        
        public string LastName
        {
            get { return mLastName; }
            set { mLastName = value; }
        }
        
        public string UserName
        {
            get { return mUserName; }
            set { mUserName = value; }
        }

        public string Password
        {
            get { return mPassword; }
            set { mPassword = value; }
        }

        public string Email
        {
            get { return mEmail; }
            set { mEmail = value; }
        }

        public DateTime LastVisit
        {
            get { return mLastVisit; }
            set { mLastVisit = value; }
        }

        public string Description
        {
            get { return mDescription; }
            set { mDescription = value; }
        }
        
        #endregion
    }
}
